//
//  SVWebViewControllerActivityZiti.m
//  SelfDriving
//
//  Created by apple on 16/9/23.
//  Copyright © 2016年 apple. All rights reserved.
//

#import "SVWebViewControllerActivityZiti.h"

@implementation SVWebViewControllerActivityZiti
- (NSString *)activityTitle {
    return NSLocalizedStringFromTable(@"字体大小", @"SVWebViewController", nil);
}
- (BOOL)canPerformWithActivityItems:(NSArray *)activityItems {
    for (id activityItem in activityItems) {
        if ([activityItem isKindOfClass:[NSURL class]] && [[UIApplication sharedApplication] canOpenURL:activityItem]) {
            return YES;
        }
    }
    return NO;
}
- (void)performActivity {
    [[NSNotificationCenter defaultCenter ]postNotificationName:@"zitiAction" object:nil];
}
@end
